<?php
class ZSourceItem{
    private $source;
    private $numberOfPosts;
    private $numberOfAuthors;
    private $numberOfThreads;
    private $SMT;

    /**
     * @param $source String
     * @param $posts int Number of Posts
     * @param $authors int Number of Authors
     * @param $threads int Number of Threads
     * @param $smt int SMT id
     */
    public function __construct($source, $posts, $authors, $threads, $smt){
        $this->source = $source;
        $this->numberOfPosts = $posts;
        $this->numberOfAuthors = $authors;
        $this->numberOfThreads = $threads;
        $this->SMT = $smt;
    }

    public function getSource(){
        return $this->source;
    }

    public function getNumberOfPosts(){
        return $this->numberOfPosts;
    }

    public function getNumberOfAuthors(){
        return $this->numberOfAuthors;
    }

    public function getNumberOfThreads(){
        return $this->numberOfThreads;
    }

    public function getSMT(){
        return $this->SMT;
    }
}


?>